// receives boot complete message from system
package com.bren.android.androidproject;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class BootEvent extends BroadcastReceiver {

	public void onReceive(Context context, Intent intent) {
		android.util.Log.w("BootEvent","Boot compelte");
		Intent service=new Intent(context, BootService.class);
		service.putExtra("extraData", "fromBoot");
		context.startService(service);	
	}
}
